home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4006 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  823 b 

  1. Path: news.bellglobal.com!stupy
  2. From: stupy@freenet.durham.org (Steve Tupy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Wanted: routine to compare file time
  5. Date: 30 Jan 1996 20:49:27 GMT
  6. Organization: Durham Free-Net
  7. Message-ID: <4em08n$ood@news.bellglobal.com>
  8. References: <4ei18a$4pr@srvr1.engin.umich.edu>
  9. NNTP-Posting-Host: 204.101.165.17
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Eric L. Palmer (elpalmer@kecomp.coldwater.mi.us) wrote:
  13. : I would like a C routine to compare the time a file was last accessed
  14. : to the current time, to check, for example, if a file is more than X
  15. : time_units old.  I don't have any problems getting the current time,
  16. : but I can't seem to properly get the file time with stat().
  17.  
  18.     This is very compiler dependant, so maybe if you could tell us which
  19. compiler you are using?
  20.  
  21. Take care!
  22.  
  23. --
  24. Steve
  25.